package com.epam.repository;

import com.epam.Entity.User;
import com.epam.Entity.VipRule;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

@Component
public interface VipRepository extends JpaRepository<VipRule,Integer> {

    VipRule getVipRuleByVipType(String vipType);
}
